﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Yunzuan.Foundation.Attributes;
using Yunzuan.Foundation.Entities;


namespace CloudDiamonds.Models.DBModels
{
    [Table(TableName = "yz_supplier_role", PrimaryKey = "ID")]
    public class SupplierRole : BaseEntity
    {
        #region Model

        private int? _id;
        /// <summary>
        ///
        /// </summary>
        [Column(IsAutoIncrement = true)]
        public int? ID
        {
            get { return _id; }
            set { this.ChangeNotify<int?>("ID", value, ref _id); }
        }
        private string _rolename;
        /// <summary>
        ///角色名
        /// </summary>
        public string RoleName
        {
            get { return _rolename; }
            set { this.ChangeNotify<string>("RoleName", value, ref _rolename); }
        }
        private string _roleDesc;
        /// <summary>
        ///角色名
        /// </summary>
        public string RoleDesc
        {
            get { return _roleDesc; }
            set { this.ChangeNotify<string>("RoleDesc", value, ref _roleDesc); }
        }
        #endregion
    }
}
